package com.ddh.service.domain.game.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author ddh
 * @since 2025-01-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("games")
@ApiModel(value="Games对象", description="")
public class Games implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "游戏id")
    @TableId(value = "game_id", type = IdType.AUTO)
    private Long gameId;

    @ApiModelProperty(value = "第一个数字")
    @TableField("num1")
    private Integer num1;

    @ApiModelProperty(value = "第二个数字")
    @TableField("num2")
    private Integer num2;

    @ApiModelProperty(value = "第三个数字")
    @TableField("num3")
    private Integer num3;

    @ApiModelProperty(value = "第四个数字")
    @TableField("num4")
    private Integer num4;


    @ApiModelProperty(value = "游戏难度分类")
    @TableField("category")
    private String category;

    @ApiModelProperty(value = "创建时间")
    @TableField("created_at")
    private LocalDateTime createAt;

    @ApiModelProperty(value = "更新时间")
    @TableField("updated_at")
    private LocalDateTime updateAt;
}
